import requests from "./request";
import mockRequests from "./mockRequest";

// 三级联动接口/api/product/getBaseCategoryList   get   无参
export const reqGetCategoryList = () =>
  requests.get(`/product/getBaseCategoryList`);
//获取banner
export const reqGetBannerList = () => mockRequests.get("/banner");

//获取floor
export const reqGetFloorList = () => mockRequests.get("/floor");

export const reqGetSearchInfo = (params) =>
  requests({ url: "/list", method: "post", data: params });
